<template>
  <div>
    <!-- 自定义规格 -->
    <el-row>
      <el-col :span="24"
        ><div class="grid-content bg-purple-dark">
          <el-alert
            title="注意！ 选择三级签约分类点击自定义规格按钮去编辑店铺自用规格。"
            type="warning"
            :closable="false"
            show-icon
          >
          </el-alert></div
      ></el-col>
    </el-row>

    <el-row :gutter="20">
      <el-col :span="8"
        ><div class="grid-content bg-purple"></div>
        <el-table
          :data="One_Sign_tableData"
          style="width: 100%; min-height: 500px  ; margin-top:10px; border: 1px solid #ebeef5; border-radius：10px；"
          highlight-current-row
        >
          <el-table-column prop="name" label="一级签约分类名称">
          </el-table-column>
        </el-table>
      </el-col>
      <el-col :span="8"
        ><div class="grid-content bg-purple">
          <el-table
            :data="Two_Sign_tableData"
            style="width: 100%; min-height: 500px  ; margin-top:10px; border: 1px solid #ebeef5; border-radius：10px；"
            highlight-current-row
          >
            <el-table-column prop="name" label="一级签约分类名称">
            </el-table-column>
          </el-table></div
      ></el-col>
      <el-col :span="8"
        ><div class="grid-content bg-purple">
          <el-table
            :data="Two_Sign_tableData"
            style="min-height: 500px ; margin-top:10px; border: 1px solid #ebeef5; border-radius：10px；"
            highlight-current-rows
          >
            <el-table-column
              prop="name"
              label="一级签约分类名称"
              min-width="80%"
            >
            </el-table-column>

            <el-table-column label="操作" align="center" min-width="50%" >
              <template slot-scope="scope">
                <el-button
                  type="primary"
                  size="mini"
                  icon="el-icon-edit"
                  @click="Two_Sign_Specification(scope.$index, scope.row)"
                  >自定义规格</el-button
                >
              </template>
            </el-table-column>
          </el-table>
        </div></el-col
      >
    </el-row>
  </div>
</template>

<script>
export default {
  name: "",
  props: [""],
  data() {
    return {
      // 一级签约分类数据
      One_Sign_tableData: [
        {
          name: "王小虎",
        },
      ],
      // 二级签约分类数据
      Two_Sign_tableData: [
        {
          name: "王小虎",
        },
      ],
      // 三级签约分类数据
      Three_Sign_tableData: [
        {
          name: "王小虎",
        },
      ],
    };
  },

  components: {},

  computed: {},

  beforeMount() {},

  mounted() {},

  methods: {
    Two_Sign_Specification(formName,bbb){
        console.log(formName,bbb);
      //  this.$router.push({path:'/home',query: {id:'1'}})
      this.$router.push('/customList')
    }
  },

  watch: {},
};
</script>
<style lang="" scoped></style>
